/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model_package;

import java.util.ArrayList;

/**
 *
 * @author haythem
 */
public class Task {
    
//    // list of cases where we can find
//    // this task
//    private ArrayList<Case> listCases;
//    // ou un task associé à un seul case ??????????????? no sé

    // the ID of the task
    private String taskID;
//    // list of agents performing the action
//    private ArrayList<Agent> listIniators ;
//    // list of agent receiving a directive
//    private ArrayList<Agent> listReceivers ;
//
//    // performative associated to the task
//    private Performative perfomative ;
//
//    // the date of the task
//    private ProjectDate date ;

    public Task(String taskID) {
//        this.listCases = listCases;
        this.taskID = taskID;
//        this.listIniators = listIniators;
//        this.listReceivers = listReceivers;
//        this.perfomative = perfomative;

        // check the format of the date !!!!!!!!!!!!!!!!
//        this.date = date;
    }

//    public ProjectDate getDate() {
//        return date;
//    }
//
//    public ArrayList<Case> getListCases() {
//        return listCases;
//    }
//
//    public ArrayList<Agent> getListIniators() {
//        return listIniators;
//    }
//
//    public ArrayList<Agent> getListReceivers() {
//        return listReceivers;
//    }
//
//    public Performative getPerfomative() {
//        return perfomative;
//    }

    public String getTaskID() {
        return taskID;
    }

//    public void setDate(ProjectDate date) {
//        this.date = date;
//    }

    //////////////////////////////
    
//    public void setListCases(ArrayList<Case> listCases) {
//        this.listCases = listCases;
//    }
//
//    public void addCase(Case case_){
//        this.listCases.add(case_);
//    }
//
//    public void deleteCase(Case case_){
//        this.listCases.remove(case_);
//    }


//////////////////////////
//    public void setListIniators(ArrayList<Agent> listIniators) {
//        this.listIniators = listIniators;
//    }
//    public void addIniator(Agent agent){
//        this.listIniators.add(agent);
//    }
//
//    public void deleteIniator(Agent agent){
//        this.listIniators.remove(agent);
//    }


///////////////////////////

//    public void setListReceivers(ArrayList<Agent> listReceivers) {
//        this.listReceivers = listReceivers;
//    }
//    public void addReceiver(Agent agent){
//        this.listReceivers.add(agent);
//    }
//
//    public void deleteReceiver(Agent agent){
//        this.listReceivers.remove(agent);
//    }

    /////////////////////////////////////
//    public void setPerfomative(Performative perfomative) {
//        this.perfomative = perfomative;
//    }

    public void setTaskID(String taskID) {
        this.taskID = taskID;
    }

    



}
